/**
 * @(#) Chef.java
 */

package TheRestaurantOwner;

public class Chef extends Employee
{
	// The chef has also a tax code.
	private String taxCode;
	
	public Chef( String taxCode )
	{
		this.taxCode = taxCode;

		trainingCost = 1200;
	}

	public int getSalary( ) {
		// If the level of experience is low, the salary per week for a chef is 300 euros.
		// If the level of experience is medium, the salary for a chef is 400 euros.
		// If the level of experience is high, the salary for a chef is 500 euros.
		switch (getExperience()){
		case low:
			return 300;
		case medium:
			return 400;
		case high:
			return 500;
		}
		return 0;
	}
}
